package nn;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// if (Network.networkType.equals(NetworkType.COUNTER_PROPAGATION)) {
		// for (Neuron neuron : getWeights().keySet()) {
		// if (neuronLayer == 1) {
		// // update kohonen weights
		// // TODO tadeusiewcicz 70 trzeba zmienic xi
		// double value = getWeights().get(neuron) + learningRate
		// * (((InputNeuron) neuron).getSignal() - getWeights().get(neuron));
		// getWeights().put(neuron, value);
		// } else if (neuronLayer == 2 && neuron.getId() == kohonenWinnerId) {
		// // cp layer
		// // should update only weight from winner neuron
		// double oldv = getWeights().get(neuron);
		// // double value = getWeights().get(neuron) - gamma *
		// //
		// (getPredictedResult(neuron)-((ProcessNeuron)neuron).getExpectedResult());
		// double value = getWeights().get(neuron) - gamma
		// * (getPredictedResult(neuron) - getExpectedResult());
		// System.out.println("weight update: " + neuron.getId() + " , new " +
		// value + " , old " + oldv
		// + ", expected " + getExpectedResult());
		// getWeights().put(neuron, value);
		// }
		// }
		// }
		int[] a = { 1, 2, 3 };
		int[] b = a;
		b[0] = 6;
		a = b.clone();
		System.out.println(a[0]);
		System.out.println(a[1]);
		System.out.println(a[2]);
	}
}
